#ifndef __FOODSPRITEMANAGER_MANAGER_H__
#define __FOODSPRITEMANAGER_MANAGER_H__
#include "cocos2d.h"
#include "FoodSprite.h"
USING_NS_CC;

class FoodSpriteManager:public CCNode
{
public:
	virtual bool init();
	static FoodSpriteManager* sharedFoodSpriteManager(void);

	FoodSprite* createFood(FoodType foodtype);

	void computeFoodSpriteScore(FoodSprite* foodsprite);
	void showScore(FoodSprite* foodsprite,int score);

	CREATE_FUNC(FoodSpriteManager);
};

#endif